Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add decoder attempt instance #947

Merged
merged 3 commits into from
May 30, 2024
Merged

Conversation

geirolz
Copy link
Collaborator

@geirolz geirolz commented May 2, 2024

Given a decoder provides an implicit attempted-version. Useful to control how to ack a broken message instead of letting the stream collapse

#313 mentioned the problem, this is a solution that let the user to manually ack the broken messages ( choosing between NAck or Reject )

P.S. Potentially we could also add the Option version

@matejcerny
Copy link
Collaborator

LGTM. Can you please add a simple test?

@matejcerny
Copy link
Collaborator

Btw. as there are not that many contributors, I suggest to push branches directly to this repo.

@geirolz
Copy link
Collaborator Author

geirolz commented May 30, 2024

@matejcerny let me add tests then 👍

@geirolz geirolz merged commit 9523d6e into profunktor:master May 30, 2024
3 checks passed
@geirolz geirolz deleted the add-decoder-attempt branch May 30, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants